cubes = [n**3 for n in range(1, 11)]
for n in cubes:
    print(n)